.w{
    width: 1200px;
    margin: 0 auto;
}
.header{
    height: 84px;
    border-bottom: 2px solid #b1191a;
}
.logo{
    /* 用margin会出现外边距塌陷问题，所以用padding */
    padding-top: 18px ;
}
.registerarea{
    margin-top: 20px;
    height: 522px;
    border: 1px solid #dddddd;   
}
.registerarea h3{
    height: 41px;
    font-size: 18px;
    color: #333333;
    font-weight: 400;
    background-color: #ececec;
    border-bottom: 1px solid #dddddd;
    padding: 0 10px;
    line-height: 41px;
}
.login{
    float: right;
    font-size: 14px;
    color: #333333;
}
.login a{
    color: red;
}
.reg_form{
    width: 630px;
    margin: 50px auto 0;
}
.reg_form  ul li label{
    /* label是行内元素，需要转化才可以给宽 */
    display: inline-block;
    width: 88px;
    text-align: right;
}
.reg_form ul li{
    margin-bottom: 20px;
}
.reg_form ul li .inp{
    width: 242px;
    height: 37px;
    border: 1px solid #999999;   
}
.reg_form ul li .error{
    color: #df3033;
}
.error_icon,.sucess_icon{
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: -2px 4px 0 10px;    
    /* 文字和图片垂直居中用vertical-align：middle  */
    vertical-align: middle;
    background: url(../images/矩形8.png);
}
.sucess{
    color: green;
}

.reg_form ul li img{
    width: 20px;
    height: 20px;
}
.safe{
    padding-left: 170px;
}
.safe em{
    width: 34px;
    margin-right: 1px;
    padding: 0 12px;
}
.ruo{
    background-color: #de1111;
}
.zhong{
    background-color: #40b83f;
}
.qiang{
    background-color: #f79100;
}
.agree input{
    /* 保证选框和文字同一行显示 */
    vertical-align: middle;
    margin-left: 88px;
}
.agree a{
    color: #4fafe9;
}
.btn{
    width: 200px;
    height: 34px;
    background-color: #c81623;
    color: #fff;
    font-size: 14px;
    margin: 30px 0 0 90px;
}
.mod_copyright{
    padding-top: 20px;
    text-align: center;
}
.mod_copyright .links a{
    margin: 0 9px;
}
.copyright{
    padding-top: 15px;
    font-size: 12px;
}